
#ifndef USER_SHARE_MEM_H
#define USER_SHARE_MEM_H

typedef struct _USER_SHARE_MEM
{
	HANDLE		ProcessId;
	PMDL		Mdl;
	PVOID		ShareMemory;
} USER_SHARE_MEM,*PUSER_SHARE_MEM;

extern USER_SHARE_MEM	g_User_Share_Mem;

NTSTATUS
InitUserShareMemory(PUSER_SHARE_MEM User_Mem,PMDL pUserMdl);

NTSTATUS
UninitUserShareMemory(PUSER_SHARE_MEM User_Mem);

NTSTATUS
IsUserShareMemoryProcess(PUSER_SHARE_MEM User_Mem);

#endif

